package com.association.service;

import com.association.model.entity.Dept;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

import java.util.List;

/**
 * @author 18244
 */
public interface DeptService {
    Dept getById(Long id);

    //删除对象
    int delete(Long id);

    //添加对象
    int insert(Dept dept);

    //修改对象
    int update(Dept dept);

    //查询集合
    List<Dept> getList();
}
